]> dgit.raspbian.org Git - gnome-shell.git/commit
st/widget: Emit "style-changed" on all theme changes
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 17 Nov 2019 23:44:36 +0000 (00:44 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 14 Feb 2022 13:50:03 +0000 (13:50 +0000)
commitba547ec1db9015efdef5891f931a714095f2a22a
tree64594e2a3c4f03f3fc25c07afd18b8e9e331949a
parent172a8febe7ccdd561a5add708cb8b2802a9a27e9
st/widget: Emit "style-changed" on all theme changes

Since now the resource consumption of the "style-changed" signal
handlers should be significantly lower, we can start emitting the signal
in all cases again as it was originally intended. This fixes some small
visual issues, like the battery percentage in the panel only being shown
on hover or updating the size of StIcons on scale-factor changes.

This effectively reverts f74c07b9acbdc6945ca37f86bc680701f048f174

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1708

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2099>
src/st/st-widget.c